
use std::fs::{read_to_string};
use anyhow::Result;

fn main() -> Result<()> {
    // println!("Hello, world!");

    let htm = render()?;
    println!("{htm}");
    Ok(())
}

fn render() -> Result<String> {
    let fp = std::env::var("MARKDOWN")?;
    let str = read_to_string(fp)?;

    Ok(str)
}
